package com.example.design.proxy.statical.buyhouse;

/**
 * @Description 实现服务接口-买房人
 * @ClassName BuyHoisePerson
 * @Author Yumuhui
 * @Date 2020/5/14 0:40
 * @Version 1.0.0
 */
public class BuyHoisePerson implements BuyHouse {

    String userName;

    public BuyHoisePerson(String userName) {
        this.userName = userName;
    }

    @Override
    public void buyHouse() {
        System.out.println(this.userName + "要买房");
    }
}
